package apiday02;

public class StringBuildDemo02 {
    public static void main(String[] args) {
        StringBuilder buf = new StringBuilder();
        buf.append("A")
                .append("A")
                .append("B")
                .append("c")
                .insert(1,"C")
                .delete(0,1);
        String str = buf.toString();
        System.out.println(str);
        System.out.println(buf);
    }



    }


